package com.thwcompany.mpdemo.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * @program: tenghuawei-demo
 * @author: tenghw
 * @create: 2024-02-26 15:43
 * @Version 1.0
 * @description:
 **/
@Data
public class UserVo {
    /**
     * 用户id
     */
    private Long id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 年龄
     */
    private Integer age;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone="Asia/Shanghai")
    private LocalDateTime createTime;
    /**
     * 城市
     */
    private String city;

    /**
     * 地址
     */
    private String address;
}